home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 3.8 KB | 212 lines | [TEXT/MPS ] |
- /*
- File: Dictionary.idl
-
- Contains: Dictionary Manager Interfaces
-
- Version: Technology: System 8
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __DICTIONARY_IDL__
- #define __DICTIONARY_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #if FOR_SYSTEM8_PREEMPTIVE
- #ifndef __AEDATAMODEL_IDL__
- #include <AEDataModel.idl>
- #endif
- #ifndef __AEREGISTRY_IDL__
- #include <AERegistry.idl>
- #endif
- #ifndef __FILEMANAGERTYPES_IDL__
- #include <FileManagerTypes.idl>
- #endif
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- #ifndef __FILES_IDL__
- #include <Files.idl>
- #endif
- #endif
-
- #ifdef __SOMIDL__
-
- /*
- =============================================================================================
- System 8 Dictionary Manager
- =============================================================================================
- */
- #if FOR_SYSTEM8_PREEMPTIVE
- typedef UInt32 DCMUniqueID;
-
- #if FOR_PTR_BASED_AE
- typedef AERecord DCMFieldDataList;
-
- #endif
- typedef OpaquePtr DCMObjectID;
-
- typedef DCMObjectID DCMAccessMethodID;
-
- typedef DCMObjectID DCMDictionaryID;
-
- typedef OpaquePtr DCMObjectRef;
-
- typedef DCMObjectRef DCMDictionaryRef;
-
- typedef DCMObjectRef DCMDictionaryStreamRef;
-
- typedef DCMObjectRef DCMFieldInfoRef;
-
- typedef OpaquePtr DCMObjectIterator;
-
- typedef DCMObjectIterator DCMAccessMethodIterator;
-
- typedef DCMObjectIterator DCMDictionaryIterator;
-
- typedef OpaquePtr DCMFoundRecordIterator;
-
- /*
- Field specification declarations
- */
- typedef FourCharCode DCMFieldTag;
-
- typedef FourCharCode DCMFieldType;
-
- typedef UInt64 DCMFieldSubType;
-
- /*
- Dictionary information
- */
- typedef SOMLargeStruct DCMDictionaryHeader; /* Derived from a struct of 76 bytes in size */
-
- typedef OptionBits DCMFieldAttribute;
-
- /*
- Standard dictionary properties
- */
- /*
- 'perm' property constants
- */
- /*
- Standard search method
- */
- typedef OSType DCMFindMethodType;
-
- /*
- AccessMethod features
- */
- typedef OptionBits DCMAccessMethodFeature;
-
- /*
- Error values
- */
- /*
- Callback routines
- */
- typedef OpaquePtr DCMRegisterStreamProc;
- typedef OpaquePtr DCMProgressProc;
- /*
- Create dictionary
- */
- /*
- Register dictionary
- */
- /*
- Open dictionary
- */
- /*
- Change access privilege
- */
- /*
- Find records
- */
- #if FOR_PTR_BASED_AE
- #endif
- /*
- Dump dictionary
- */
- /*
- Get field data
- */
- #if FOR_PTR_BASED_AE
- #endif
- /*
- Add record
- */
- #if FOR_PTR_BASED_AE
- #endif
- /*
- Add field
- */
- /*
- Get dictionary information
- */
- /*
- Dictionary property
- */
- /*
- Get dictionary stream
- */
- /*
- Reorganize/compact dictionary
- */
- /*
- Seaarch dictionary
- */
- /*
- Search AccessMethod
- */
- /*
- Iterator Operation
- */
- /*
- Register AccessMethod
- */
- /*
- Get AccessMethod information
- */
- /*
- Operators for DCMFieldInfoRef
- */
- /*
- API for AccessMethod only
- */
- #endif
- /*
- =============================================================================================
- System 7 Dictionary Manager
- =============================================================================================
- */
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- /* This Was InsertMode */
- typedef short DictionaryDataInsertMode;
-
- /* This Was AttributeType */
- typedef SInt8 DictionaryEntryAttribute;
-
- /* Dictionary information record */
- typedef SOMLargeStruct DictionaryInformation; /* Derived from a struct of 83 bytes in size */
-
- typedef SOMTwoByteStruct DictionaryAttributeTable; /* Derived from a struct of 2 bytes in size */
-
- typedef OpaquePtr DictionaryAttributeTablePtr; /* Substituted OpaquePtr for “DictionaryAttributeTable*” */
-
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __DICTIONARY_IDL__ */
-
-